<template>
  <div class="common-layout">
    <el-container>
      <el-header>
        <h1 style="color: white;background-color: #0aa1ed">后台管理系统</h1>
      </el-header>
      <el-container>
        <el-aside width="200px">
          <el-menu>
            <el-menu-item index="1">员工管理</el-menu-item>
            <el-menu-item index="2">轮播图管理</el-menu-item>
            <el-menu-item index="3">商品管理</el-menu-item>
          </el-menu>
        </el-aside>
        <el-main>
          <el-table :data="arr">
            <el-table-column type="index" label="编号" width="80px"></el-table-column>
            <el-table-column prop="name" label="姓名"></el-table-column>
            <el-table-column prop="age" label="年龄"></el-table-column>
            <el-table-column prop="gender" label="性别"></el-table-column>
            <el-table-column prop="phone" label="手机号"></el-table-column>
            <el-table-column prop="address" label="地址"></el-table-column>
          </el-table>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>


<script setup>
  const arr = [{name:"tom",age:20,gender:"男",phone:"135495435",address:"北京大钟寺校区"},
    {name:"tom",age:20,gender:"男",phone:"135495435",address:"北京大钟寺校区"},
    {name:"tom",age:20,gender:"男",phone:"135495435",address:"北京大钟寺校区"},
    {name:"tom",age:20,gender:"男",phone:"135495435",address:"北京大钟寺校区"},
    {name:"tom",age:20,gender:"男",phone:"135495435",address:"北京大钟寺校区"},
    {name:"tom",age:20,gender:"男",phone:"135495435",address:"北京大钟寺校区"},
    {name:"tom",age:20,gender:"男",phone:"135495435",address:"北京大钟寺校区"}];
</script>

<style scoped>

</style>